home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1238 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.6 KB

  1. Date: Wed, 23 Mar 1994 17:46:03 -0500
  2. From: "Nicholas S Castellano" <entropy@terminator.rs.itd.umich.edu>
  3. To: sjg
  4. In-Reply-To: sjg@phlem.ph.kcl.ac.uk's message of Wed, 23 Mar 94 21:11:53 +0000 <9403232111.AA05594@phlem.ph.kcl.ac.uk>
  5. Subject: Using an '882 with the mint library 
  6.  
  7. >From: sjg@phlem.ph.kcl.ac.uk
  8.  
  9. >I've been told I need to recompile the MiNT libs to get the proper performace
  10. >from my 68882 co-pro chip in my Falcon. To get the defines to specify -m68881
  11. >it seems I have to specify a target of 68020 in the Makefile. Is this correct?
  12. >
  13. >So basically, it now says:
  14. >
  15. >    cgcc -m68020 -m68881 -DNDEBUG -O2 ....
  16. >
  17. >as the compilation line, which *seems* ok, but I wasn't sure...
  18. >
  19. >I'd thought that TARGET might be something set in the Compiler as a variable
  20. >or something, since there wasn't any mention (apart from checking to see if it
  21. >was defined) of it in the Makefile.
  22.  
  23. TARGET is set in the makefile, it then calls another incarnation of
  24. make with TARGET set to an appropriate value for the target library
  25. you're building.
  26.  
  27. To build the full set of 020 libraries, type:
  28. make top020
  29.  
  30. ..and that will build and install gnu020.olb, gnu16020.olb,
  31. bgnu020.olb, bgnu16020.olb.
  32.  
  33. Then compile your new programs with the -m68020 and -m68881 flags, and
  34. link with the appropriate library (depending on integer size and
  35. whether you're building base-relative), e.g. "gcc -o foo.ttp foo.o
  36. -lgnu020".
  37.  
  38. cheers,
  39. entropy
  40.  
  41. --
  42. entropy -- it's not just a good idea, it's the second law.
  43. Personal mail:      entropy@gnu.ai.mit.edu
  44. MiNT library mail:  entropy@terminator.rs.itd.umich.edu
  45. "what do you have against octal?" -jrb
  46.  
  47.